package models

import "gorm.io/gorm"

type AdjacentCityModel struct {
	gorm.Model
	MainCityID        uint      `json:"mainCityID"`
	MainCityName      string    `json:"mainCityName"`
	MainCityModel     CityModel `json:"mainCityModel" gorm:"foreignKey:MainCityID"`
	AdjacentCityID    uint      `json:"adjacentCityID"`
	AdjacentCityName  string    `json:"adjacentCityName"`
	AdjacentCityModel CityModel `json:"adjacentCityModel" gorm:"foreignKey:AdjacentCityID"`
}
